MediaCloud\Vendor\Carbon\CarbonPeriod D

Total Complexity 213
Dependencies 14
Dependents 1
Total lines 1,353
Lines of code 534
Logical lines of code 318
Comment lines 527
Methods 64
Properties 12

Methods 64

Method Rating Maintainability Complexity Lines of code
__call()
D
35 44 64
__construct()
B
47 19 31
parseIso8601()
A
52 11 21
callMacro()
S
55 6 17
toString()
S
55 6 17
setEndDate()
S
57 6 17
setRecurrences()
S
59 6 14
rewind()
S
61 5 12
intervalHasTime()
S
76 5 3
checkFilters()
S
58 4 15
filterEndDate()
S
65 5 9
setOptions()
S
66 4 8
hasFilter()
S
65 4 9
isCarbonPredicateMethod()
S
75 4 3
setDateInterval()
S
62 3 12
toIso8601String()
S
62 3 12
resetFilters()
S
63 3 11
skip()
S
70 3 6
validateCurrentDate()
S
66 3 9
incrementCurrentDateUntilValid()
S
63 3 10
next()
S
66 3 9
updateInternalState()
S
68 3 8
toggleOptions()
S
65 3 9
setStartDate()
S
64 3 10
toArray()
S
61 2 14
removeFilter()
S
62 2 12
key()
S
75 2 5
mixin()
S
64 2 10
prepareForReturn()
S
70 2 7
current()
S
74 2 5
filterRecurrences()
S
72 2 6
createFilterTuple()
S
66 2 9
isIso8601()
S
65 2 8
getEndDate()
S
75 2 5
first()
S
73 2 5
last()
S
72 2 5
createFromIso()
S
67 2 8
addMissingParts()
S
70 2 5
valid()
S
80 1 3
spec()
S
81 1 3
count()
S
80 1 3
__toString()
S
81 1 3
__callStatic()
S
74 1 5
handleChangedParameters()
S
81 1 3
getRecurrences()
S
82 1 3
invertDateInterval()
S
76 1 4
setDates()
S
74 1 5
hasMacro()
S
79 1 3
getOptions()
S
82 1 3
excludeStartDate()
S
79 1 3
excludeEndDate()
S
79 1 3
getDateInterval()
S
81 1 3
getStartDate()
S
81 1 3
isStartExcluded()
S
79 1 3
endIteration()
S
81 1 3
isEndExcluded()
S
79 1 3
addFilter()
S
71 1 6
prependFilter()
S
70 1 6
createFromArray()
S
72 1 5
getFilters()
S
82 1 3
setFilters()
S
71 1 6
resetMacros()
S
80 1 3
macro()
S
79 1 3
create()
S
79 1 3